const fs = require('fs'),
log = require('../util/log');

/*var stream = fs.createReadStream(__dirname + '\\..\\..\\.exclude');
stream.setEncoding('utf8')
stream.on('data', (chunk) => {
log(chunk.split('\r\n'))
}).on('end', () => {
log('There will be no more data.')
}).on('error', err => {
log(err)
})*/

fs.readFile(__dirname + '\\..\\..\\.exclude', 'utf8', (err, data) => {
	if (err) {
		throw err
	}
	log(data)
	var excludePaths = data.split('\r\n');
})
